package com.jinxiangyang.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jinxiangyang
 * @since 2023-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Teacher对象", description="")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教师id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除 1 未删除 0 删除")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty(value = "创建人")
    private String createPerson;

    @ApiModelProperty(value = "更新人")
    private String updatePerson;

    @ApiModelProperty(value = "uid")
    private Long uid;

    @ApiModelProperty(value = "真实姓名")
    private String relName;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "职称")
    private String professional;

    @ApiModelProperty(value = "学历")
    private String degree;

    @ApiModelProperty(value = "qq")
    private String qq;

    @ApiModelProperty(value = "微信")
    private String wechat;

    @ApiModelProperty(value = "入驻时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date joinDate;

    @ApiModelProperty(value = "头像")
    private String avatar;
}
